package com.alvis.exam.viewmodel.admin.administration;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

@Data
public class StudentVM {
    @ExcelProperty("学号")
    private String sno;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("性别")
    private String sex;

    @ExcelProperty("证件号")
    private String idCardNumber;

    @ExcelProperty("所属院系")
    private String department;

    @ExcelProperty("专业代码")
    private String majorId;

    @ExcelProperty("专业")
    private String major;

    @ExcelProperty("行政班号")
    private String classId;

    @ExcelProperty("行政班名")
    private String className;

    @ExcelProperty("入学年级")
    private String admissionYear;

    @ExcelProperty("入学日期")
    @DateTimeFormat("yyyyMMdd")
    private Date admissionDate;

    @ExcelProperty("毕业日期")
    @DateTimeFormat("yyyyMMdd")
    private Date graduationDate;

    @ExcelProperty("学制")
    private Byte systemLength;
}
